package com.zhan.ielts.service;

import com.zhan.frame.core.dao.BaseService;
import com.zhan.ielts.domain.TopicQA;
import com.zhan.ielts.domain.vo.TopicDecryptQaVo;

import java.util.List;

public interface TopicQaService extends BaseService<TopicQA> {
    List<TopicQA> selectParam(TopicQA query);

    List<TopicDecryptQaVo> buildDecryptQaVOList(List<TopicQA> qaList);

    TopicDecryptQaVo buildDecryptQaVO(TopicQA topicQA);

    TopicQA buildEncryptQa(TopicDecryptQaVo qaVo);

    void updateOrInsert(TopicQA topicQa);
}
